FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagehl7.fhir.uv.phr
Resource TypeStructureDefinition
IdStructureDefinition-Environmental.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/HL7/personal-health-record-format-ig/StructureDefinition-Environmental.html
URLhttp://hl7.org/fhir/uv/phr/StructureDefinition/Environmental
Version1.0.0-ballot2
Statusactive
Date2026-07-09T21:10:21+00:00
NameEnvironmental
TitleEnvironmental Observation
Realmuv
Authorityhl7
DescriptionA logical model representing environmental conditions relevant to patient health, such as air quality, temperature, noise, and UV exposure. These factors may be collected by consumer weather stations, smartphone sensors, or wearable devices.
Typehttp://hl7.org/fhir/uv/phr/StructureDefinition/Environmental
Kindlogical

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition Environmental

NameFlagsCard.TypeDescription & Constraintsdoco
.. Environmental 0..*BaseEnvironmental Observation
... subject 1..1Reference(Patient)The patient whose environment is being observed
... effectiveDateTime 0..1dateTimeWhen the observation was made
... effectivePeriod 0..1PeriodTime period over which the observation applies
... location 0..1AddressLocation of measurement
... gpsCoordinates 0..1BackboneElementGPS coordinates of the observation
.... latitude 1..1decimalLatitude in decimal degrees
.... longitude 1..1decimalLongitude in decimal degrees
.... altitude 0..1QuantityAltitude above sea level
... temperature 0..1QuantityAmbient temperature
... humidity 0..1QuantityAmbient relative humidity percentage
... barometricPressure 0..1QuantityBarometric pressure
... airQualityIndex 0..1integerAir quality index (AQI)
... uvIndex 0..1decimalUV exposure index
... noiseLevel 0..1QuantityEnvironmental noise level in decibels
... pollenCount 0..1QuantityPollen count
... substance 0..*BackboneElementSubstances detected in the environment
.... code 1..1CodeableConceptSubstance identity (e.g. lead, PFAS, asbestos, mold, radon)
.... category 0..1CodeableConceptCategory of substance (e.g. contaminant, toxin, irritant, allergen)
.... concentration 0..1QuantityMeasured concentration of the substance
.... source 0..1stringSource or medium (e.g. groundwater, soil, air, surface)

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "Environmental",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "pe"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 1,
      "_valueInteger": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/uv/phr/ImplementationGuide/hl7.fhir.uv.phr"
          }
        ]
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "trial-use",
      "_valueCode": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/uv/phr/ImplementationGuide/hl7.fhir.uv.phr"
          }
        ]
      }
    }
  ],
  "url": "http://hl7.org/fhir/uv/phr/StructureDefinition/Environmental",
  "version": "1.0.0-ballot2",
  "name": "Environmental",
  "title": "Environmental Observation",
  "status": "active",
  "date": "2026-07-09T21:10:21+00:00",
  "publisher": "HL7 International / Patient Empowerment",
  "contact": [
    {
      "name": "HL7 International / Patient Empowerment",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/patientempowerment"
        }
      ]
    }
  ],
  "description": "A logical model representing environmental conditions relevant to patient health, such as air quality, temperature, noise, and UV exposure. These factors may be collected by consumer weather stations, smartphone sensors, or wearable devices.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001",
          "display": "World"
        }
      ]
    }
  ],
  "fhirVersion": "4.0.1",
  "kind": "logical",
  "abstract": false,
  "type": "http://hl7.org/fhir/uv/phr/StructureDefinition/Environmental",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "4.0.1"
      }
    ],
    "element": [
      {
        "id": "Environmental",
        "path": "Environmental",
        "short": "Environmental Observation",
        "definition": "A logical model representing environmental conditions relevant to patient health, such as air quality, temperature, noise, and UV exposure. These factors may be collected by consumer weather stations, smartphone sensors, or wearable devices.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false
      },
      {
        "id": "Environmental.subject",
        "path": "Environmental.subject",
        "short": "The patient whose environment is being observed",
        "definition": "The patient whose environment is being observed",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Environmental.subject",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          }
        ]
      },
      {
        "id": "Environmental.effectiveDateTime",
        "path": "Environmental.effectiveDateTime",
        "short": "When the observation was made",
        "definition": "When the observation was made",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Environmental.effectiveDateTime",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Environmental.effectivePeriod",
        "path": "Environmental.effectivePeriod",
        "short": "Time period over which the observation applies",
        "definition": "Time period over which the observation applies",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Environmental.effectivePeriod",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "Environmental.location",
        "path": "Environmental.location",
        "short": "Location of measurement",
        "definition": "Location of measurement",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Environmental.location",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Address"
          }
        ]
      },
      {
        "id": "Environmental.gpsCoordinates",
        "path": "Environmental.gpsCoordinates",
        "short": "GPS coordinates of the observation",
        "definition": "GPS coordinates of the observation",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Environmental.gpsCoordinates",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id": "Environmental.gpsCoordinates.id",
        "path": "Environmental.gpsCoordinates.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Environmental.gpsCoordinates.extension",
        "path": "Environmental.gpsCoordinates.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Environmental.gpsCoordinates.modifierExtension",
        "path": "Environmental.gpsCoordinates.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Environmental.gpsCoordinates.latitude",
        "path": "Environmental.gpsCoordinates.latitude",
        "short": "Latitude in decimal degrees",
        "definition": "Latitude in decimal degrees",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Environmental.gpsCoordinates.latitude",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ]
      },
      {
        "id": "Environmental.gpsCoordinates.longitude",
        "path": "Environmental.gpsCoordinates.longitude",
        "short": "Longitude in decimal degrees",
        "definition": "Longitude in decimal degrees",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Environmental.gpsCoordinates.longitude",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ]
      },
      {
        "id": "Environmental.gpsCoordinates.altitude",
        "path": "Environmental.gpsCoordinates.altitude",
        "short": "Altitude above sea level",
        "definition": "Altitude above sea level",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Environmental.gpsCoordinates.altitude",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Environmental.temperature",
        "path": "Environmental.temperature",
        "short": "Ambient temperature",
        "definition": "Ambient temperature",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Environmental.temperature",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Environmental.humidity",
        "path": "Environmental.humidity",
        "short": "Ambient relative humidity percentage",
        "definition": "Ambient relative humidity percentage",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Environmental.humidity",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Environmental.barometricPressure",
        "path": "Environmental.barometricPressure",
        "short": "Barometric pressure",
        "definition": "Barometric pressure",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Environmental.barometricPressure",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Environmental.airQualityIndex",
        "path": "Environmental.airQualityIndex",
        "short": "Air quality index (AQI)",
        "definition": "Air quality index (AQI)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Environmental.airQualityIndex",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ]
      },
      {
        "id": "Environmental.uvIndex",
        "path": "Environmental.uvIndex",
        "short": "UV exposure index",
        "definition": "UV exposure index",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Environmental.uvIndex",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ]
      },
      {
        "id": "Environmental.noiseLevel",
        "path": "Environmental.noiseLevel",
        "short": "Environmental noise level in decibels",
        "definition": "Environmental noise level in decibels",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Environmental.noiseLevel",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Environmental.pollenCount",
        "path": "Environmental.pollenCount",
        "short": "Pollen count",
        "definition": "Pollen count",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Environmental.pollenCount",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Environmental.substance",
        "path": "Environmental.substance",
        "short": "Substances detected in the environment",
        "definition": "Substances detected in the environment",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Environmental.substance",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id": "Environmental.substance.id",
        "path": "Environmental.substance.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Environmental.substance.extension",
        "path": "Environmental.substance.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Environmental.substance.modifierExtension",
        "path": "Environmental.substance.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Environmental.substance.code",
        "path": "Environmental.substance.code",
        "short": "Substance identity (e.g. lead, PFAS, asbestos, mold, radon)",
        "definition": "Substance identity (e.g. lead, PFAS, asbestos, mold, radon)",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Environmental.substance.code",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "Environmental.substance.category",
        "path": "Environmental.substance.category",
        "short": "Category of substance (e.g. contaminant, toxin, irritant, allergen)",
        "definition": "Category of substance (e.g. contaminant, toxin, irritant, allergen)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Environmental.substance.category",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "Environmental.substance.concentration",
        "path": "Environmental.substance.concentration",
        "short": "Measured concentration of the substance",
        "definition": "Measured concentration of the substance",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Environmental.substance.concentration",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Environmental.substance.source",
        "path": "Environmental.substance.source",
        "short": "Source or medium (e.g. groundwater, soil, air, surface)",
        "definition": "Source or medium (e.g. groundwater, soil, air, surface)",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Environmental.substance.source",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "Environmental",
        "path": "Environmental",
        "short": "Environmental Observation",
        "definition": "A logical model representing environmental conditions relevant to patient health, such as air quality, temperature, noise, and UV exposure. These factors may be collected by consumer weather stations, smartphone sensors, or wearable devices."
      },
      {
        "id": "Environmental.subject",
        "path": "Environmental.subject",
        "short": "The patient whose environment is being observed",
        "definition": "The patient whose environment is being observed",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          }
        ]
      },
      {
        "id": "Environmental.effectiveDateTime",
        "path": "Environmental.effectiveDateTime",
        "short": "When the observation was made",
        "definition": "When the observation was made",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Environmental.effectivePeriod",
        "path": "Environmental.effectivePeriod",
        "short": "Time period over which the observation applies",
        "definition": "Time period over which the observation applies",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "Environmental.location",
        "path": "Environmental.location",
        "short": "Location of measurement",
        "definition": "Location of measurement",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Address"
          }
        ]
      },
      {
        "id": "Environmental.gpsCoordinates",
        "path": "Environmental.gpsCoordinates",
        "short": "GPS coordinates of the observation",
        "definition": "GPS coordinates of the observation",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Environmental.gpsCoordinates.latitude",
        "path": "Environmental.gpsCoordinates.latitude",
        "short": "Latitude in decimal degrees",
        "definition": "Latitude in decimal degrees",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ]
      },
      {
        "id": "Environmental.gpsCoordinates.longitude",
        "path": "Environmental.gpsCoordinates.longitude",
        "short": "Longitude in decimal degrees",
        "definition": "Longitude in decimal degrees",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ]
      },
      {
        "id": "Environmental.gpsCoordinates.altitude",
        "path": "Environmental.gpsCoordinates.altitude",
        "short": "Altitude above sea level",
        "definition": "Altitude above sea level",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Environmental.temperature",
        "path": "Environmental.temperature",
        "short": "Ambient temperature",
        "definition": "Ambient temperature",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Environmental.humidity",
        "path": "Environmental.humidity",
        "short": "Ambient relative humidity percentage",
        "definition": "Ambient relative humidity percentage",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Environmental.barometricPressure",
        "path": "Environmental.barometricPressure",
        "short": "Barometric pressure",
        "definition": "Barometric pressure",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Environmental.airQualityIndex",
        "path": "Environmental.airQualityIndex",
        "short": "Air quality index (AQI)",
        "definition": "Air quality index (AQI)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "integer"
          }
        ]
      },
      {
        "id": "Environmental.uvIndex",
        "path": "Environmental.uvIndex",
        "short": "UV exposure index",
        "definition": "UV exposure index",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ]
      },
      {
        "id": "Environmental.noiseLevel",
        "path": "Environmental.noiseLevel",
        "short": "Environmental noise level in decibels",
        "definition": "Environmental noise level in decibels",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Environmental.pollenCount",
        "path": "Environmental.pollenCount",
        "short": "Pollen count",
        "definition": "Pollen count",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Environmental.substance",
        "path": "Environmental.substance",
        "short": "Substances detected in the environment",
        "definition": "Substances detected in the environment",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Environmental.substance.code",
        "path": "Environmental.substance.code",
        "short": "Substance identity (e.g. lead, PFAS, asbestos, mold, radon)",
        "definition": "Substance identity (e.g. lead, PFAS, asbestos, mold, radon)",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "Environmental.substance.category",
        "path": "Environmental.substance.category",
        "short": "Category of substance (e.g. contaminant, toxin, irritant, allergen)",
        "definition": "Category of substance (e.g. contaminant, toxin, irritant, allergen)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "Environmental.substance.concentration",
        "path": "Environmental.substance.concentration",
        "short": "Measured concentration of the substance",
        "definition": "Measured concentration of the substance",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Environmental.substance.source",
        "path": "Environmental.substance.source",
        "short": "Source or medium (e.g. groundwater, soil, air, surface)",
        "definition": "Source or medium (e.g. groundwater, soil, air, surface)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  }
}